<%@ page language="C#" autoeventwireup="true" inherits="Manage_OrgInfo_EmpDetail, App_Web_empdetail.aspx.666789b0" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
	<LINK href="../css.css" type="text/css" rel="stylesheet">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
	<script language="javascript" src="../../js/jslib.js" type="text/javascript"></script>
</head>
<body topmargin="0" leftmargin="0">
    <form id="form1" runat="server">
    <table width="99%" align="center"  border="0" cellspacing="0" cellpadding="0" class="NormalText">
  <tr>
              <td height="40" colspan="2" class="HeadText">Employee Details</td>
      </tr>
  <tr>
    <td height="27" colspan="2"><table width="99%"  border="0" cellspacing="1" cellpadding="1">
      <tr>
        <td width="20" height="24" align="center"><img 
            src="..\images\mhtDE(1).tmp" /></td>
        <td><a href="EmpList.aspx?OrgSid=<%=OrgSid%>">new employee search</a></td>
        <td width="20" align="center"><img 
            src="..\images\mhtDE(1).tmp" /></td>
        <td><a href="#">employee details</a></td>
        <td width="20" align="center"><img 
            src="..\images\mhtDE(1).tmp" /></td>
        <td><a href="EmpUpt.aspx?Sid=<%=Sid%>">edit employee details</a></td>
        <td width="20" align="center"><img 
            src="..\images\mhtDE(1).tmp" /></td>
        <td><a href="EmpPay.aspx?OrgSid=<%=OrgSid%>&EmpSid=<%=Sid%>">edit payment details</a></td>
      </tr>
      <tr>
        <td width="20" height="24" align="center"><img 
            src="..\images\mhtDE(1).tmp" /></td>
        <td><a href="EmpPayHistory.aspx?OrgSid=<%=OrgSid%>&Sid=<%=Sid%>">payment history</a></td>
        <td width="20" align="center"><img 
            src="..\images\mhtDE(1).tmp" /></td>
        <td><a href="EmpUptHistory.aspx?OrgSid=<%=OrgSid%>&Sid=<%=Sid%>">update history</a></td>
        <td width="20" align="center">&nbsp;</td>
        <td></td>
        <td width="20" align="center">&nbsp;</td>
        <td></td>
      </tr>
    </table></td>
    </tr>
  <tr>
    <td height="20">&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td width="30%" height="24">Our Ref:</td>
    <td><%=Sid%></td>
  </tr>
  <tr>
    <td height="24">Employee Name:</td>
    <td><%=EmpName%></td>
  </tr>
  <tr>
    <td height="24">Employee ID:</td>
    <td><%=OrgEmpSid%></td>
  </tr>
  <tr>
    <td height="24">Tax File Number:</td>
    <td><%=TaxFileNumber%></td>
  </tr>
  <tr>
    <td height="24">Pay Frequency:</td>
    <td><%=PayFrequency%></td>
  </tr>
  <tr>
    <td height="24">Next Payday:</td>
    <td><%=NextPayday%></td>
  </tr>
  <tr>
    <td height="24">Net Payment:</td>
    <td><%=sNetPayment%></td>
  </tr>
  <tr>
    <td height="24">Address:</td>
    <td><%=Address1%></td>
  </tr>
  <tr>
    <td height="24" style="height: 22px">&nbsp;</td>
    <td style="height: 22px"><%=Address2%></td>
  </tr>
  <tr>
    <td height="22" colspan="2"><table width="100%"  border="0" cellspacing="1" cellpadding="1">
      <tr>
        <td><strong>Net Pay Distribution:</strong></td>
      </tr>
      <tr>
        <td><table width="100%"  border="0" cellpadding="1" cellspacing="1" bgcolor="#999999">
          <tr>
            <td height="22" bgcolor="#CCCCCC"><strong>BSB</strong></td>
            <td bgcolor="#CCCCCC"><strong>A/C</strong></td>
            <td bgcolor="#CCCCCC"><strong>Bank Name</strong></td>
            <td bgcolor="#CCCCCC"><strong>Reference</strong></td>
            <td bgcolor="#CCCCCC"><strong>Payment Date</strong></td>
            <td bgcolor="#CCCCCC"><strong>Amount</strong></td>
          </tr>
		  <%
                for (int i = 0; i < dtBankPayment.Rows.Count; i++)
                {
                    string BankName = dtBankPayment.Rows[i]["BankName"].ToString();
                    string AccountNum = dtBankPayment.Rows[i]["AccountNum"].ToString();
                    string Bsb = dtBankPayment.Rows[i]["Bsb"].ToString();
                    string PayReference = dtBankPayment.Rows[i]["PayReference"].ToString();
                    string PaymentDate = dtBankPayment.Rows[i]["PaymentDate"].ToString();
                    string PaymentAmount = dtBankPayment.Rows[i]["PaymentAmount"].ToString();
            %>
          <tr bgcolor="#FFFFFF">
            <td height="24"><%=BankName%></td>
            <td><%=AccountNum%></td>
            <td><%=Bsb%></td>
            <td><%=PayReference%></td>
            <td><%=PaymentDate%></td>
            <td><%=PaymentAmount%></td>
          </tr>
		  <%}%>
        </table></td>
      </tr>
    </table></td>
  </tr>
  <tr>
    <td height="22" colspan="2"><div align="center">
	<a href="EmpList.aspx?OrgSid=<%=OrgSid%>">Return</a>
	</div></td>
  </tr>
  <tr>
    <td height="22" colspan="2">
	<asp:Label ID="lblTip" runat="server"></asp:Label>
	</td>
  </tr>
</table>
    </form>
</body>
</html>
